package com.randao.framework.common.exception;

import com.randao.framework.common.model.response.ResultCode;

/**
 * @Author： ~Mr·Weng~
 * @CreateTime： 2019年-04月-24日  0:25
 * Look at the wine in the glass toast the rich first.
 */
//封装自定义异常CustomException
public class ExceptionCast {

    //抛出异常
    public static void cast(ResultCode resultCode) {
        throw new CustomException(resultCode);
    }

}
